package com.clock.service;


import com.clock.common.domain.R;
import com.clock.domain.dto.InsertDiscussPostDTO;


public interface DiscussPostService {


    R getNormalDiscussPostByLimit(Integer pageNum, Integer pageSize);

    R getAllDiscussPostByLimit(Integer pageNum, Integer pageSize);

    R insertNewDiscussPostByUserId(InsertDiscussPostDTO newDiscussPostDto) throws Exception;

    R getDiscussPostAndCommentsById(Long id,Integer pageNum);

    R getDiscussPostsBySearch(String keywords,Integer pageNum, Integer pageSize);

    R deleteDiscussPostById(Long postId);

    R deleteLogicDiscussPostById(Long postId,Integer status);

    R queryPostOfOwn(Long userId, Integer pageNum, Integer pageSize);

    R queryUserMaybeLike(Long userId, Integer pageNum, Integer pageSize);

    R queryFollowersOfPartPost(Long userId, Integer pageNum, Integer pageSize);



}
